
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title>后台首页</title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                后台首页Index的视图
            </div>
        </div>
    </div>
</div>
</body>
</html>



//user

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title>用户管理</title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >

                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>管理员用户列表</h3>
                </div>

                <div>
                    <div style="float:right;">
                        <button type="button" class="btn btn-primary" onclick="window.location.href='/adm/user/add-user'">添加管理员</button>
                    </div>
                </div>
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>id</th>

                        <th>用户名</th>
                        <th>更改密码</th>
                        <th>删除<th>
                    </tr>
                    </thead>
                    <tbody>

                    <tr>
                        <th scope="row">1</th>
                        <td>admin</td>

                        <td><a style="cursor:pointer;" href="/adm/user/reset-password/1">更改密码</a></td>
                        <td>

                            <a onclick="delUser(1)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">2</th>
                        <td>admin1</td>

                        <td><a style="cursor:pointer;" href="/adm/user/reset-password/2">更改密码</a></td>
                        <td>

                            <a onclick="delUser(2)"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <script type="text/javascript" language="javascript">

                    function delUser(id)
                    {
                        if(id==1)
                        {
                            alert("不能删除当前登录用户");
                            return;
                        }
                        var r = confirm("确认删除吗？");
                        if( r == true )
                        {

                            var url="/adm/user/del-user";
                            var token="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb";
                            $.post(url,{'_token':token,'id':id},function(data){
                                alert(data);
                                location.reload();
                            });
                        }
                    }

                </script>
            </div>
        </div>
    </div>
</div>
</body>
</html>




add-  uesr


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title>添加用户</title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >

                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>新增管理员</h3>
                </div>
                <form class="form-horizontal"  method="post" action="/adm/user/add-user">
                    <input name="_token" type="hidden" value="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb">
                    <div class="form-group">
                        <label for="username" class="col-sm-2 control-label"><span style="color:red;">*</span>用户名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" style="width:300px;" id="username" name="username" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password" class="col-sm-2 control-label"><span style="color:red;">*</span>密码</label>
                        <div class="col-sm-10">
                            <input type="password" class="form-control" style="width:300px;" id="password" name="password" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password_confirmation" class="col-sm-2 control-label"><span style="color:red;">*</span>确认密码</label>
                        <div class="col-sm-10">
                            <input type="password" class="form-control" style="width:300px;" id="password_confirmation" name="password_confirmation" >
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <input type="button",onclick="addUser" value="确定">

                        </div>
                    </div>
                </form>
                <script type="text/javascript" language="javascript">

                    function addUser()
                    {

                        var url="/adm/adduser";
                        var username=$('#username');
                        var password=$('#password');
                        var password_confirmation=$('password_confirmation');
                        var token="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb";
                        $.post(url,{'_token':token,'username':username,'password':password,'password_confirmation':password_confirmation},function(data){
                            alert(data);
                            location.reload();
                        });
                    }
                    }

                </script>

            </div>
        </div>
    </div>
</div>
</body>
</html>


修改密码


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title>用户管理</title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>重置密码</h3>
                </div>
                <form class="form-horizontal"  method="post" action="/adm/user/reset-password">
                    <input name="_token" type="hidden" value="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb"><input type="hidden" name="id" value="1" />
                    <div class="form-group">
                        <label for="password" class="col-sm-2 control-label"><span style="color:red;">*</span>输入新密码</label>
                        <div class="col-sm-10">
                            <input type="password" class="form-control" style="width:300px;" id="password" name="password" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password_confirmation" class="col-sm-2 control-label"><span style="color:red;">*</span>确认密码</label>
                        <div class="col-sm-10">
                            <input type="password" class="form-control" style="width:300px;" id="password_confirmation" name="password_confirmation" >
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确定</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>


//专家


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title>后台首页</title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>专家列表</h3>
                </div>
                <div style="float:right;"><button type="button" class="btn btn-primary" onclick="window.location.href='/adm/expert/add'">新增专家</button></div>

                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>id</th>
                        <th>姓名</th>
                        <th>职称</th>
                        <th>科室</th>
                        <th>医院</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <th scope="row">17</th>
                        <td>213213123</td>
                        <td>31213213</td>
                        <td>213213123</td>
                        <td>213213</td>
                        <td>
                            <a href="/adm/expert/edit/17"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/17')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">9</th>
                        <td>马倩</td>
                        <td>讲师</td>
                        <td>计算机</td>
                        <td>衡水学院</td>
                        <td>
                            <a href="/adm/expert/edit/9"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/9')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">8</th>
                        <td>高妍 赵维纲</td>
                        <td>主任医师</td>
                        <td>内分泌内科</td>
                        <td>北京大学第一医院 北京协和医院</td>
                        <td>
                            <a href="/adm/expert/edit/8"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/8')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">7</th>
                        <td>唐晓文</td>
                        <td>主任医师</td>
                        <td>血液科</td>
                        <td>苏州大学附属第一医院</td>
                        <td>
                            <a href="/adm/expert/edit/7"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/7')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">6</th>
                        <td>王智</td>
                        <td>主任医师</td>
                        <td>血液内科</td>
                        <td>无锡市第二人民医院</td>
                        <td>
                            <a href="/adm/expert/edit/6"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/6')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">5</th>
                        <td>沈云峰</td>
                        <td>主任医师</td>
                        <td>血液科</td>
                        <td>无锡市人民医院</td>
                        <td>
                            <a href="/adm/expert/edit/5"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/5')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">4</th>
                        <td>韩军涛</td>
                        <td>副主任医师</td>
                        <td>皮肤外科</td>
                        <td>空军军医大学西京医院</td>
                        <td>
                            <a href="/adm/expert/edit/4"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/4')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">3</th>
                        <td>章一新</td>
                        <td>主任医师</td>
                        <td>整复外科</td>
                        <td>上海交通大学附属第九人民医院</td>
                        <td>
                            <a href="/adm/expert/edit/3"><span class="glyphicon glyphicon-edit" aria-hidden="true"></a></span>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/expert/del/3')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></a></span>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <script>
                    function delUser(url){
                        if(confirm('确定要删除该专家吗？')){
                            window.location.href = url;
                        }
                    }
                </script>



            </div>
        </div>
    </div>
</div>
</body>
</html>


expert add

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title></title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                <!-- 配置文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.config.js"></script>
                <!-- 编辑器源码文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.all.js"></script>
                <!-- 语言包文件(建议手动加载语言包，避免在ie下，因为加载语言失败导致编辑器加载失败) -->
                <script type="text/javascript" src="/assets/js/ueditor/lang/zh-cn/zh-cn.js"></script>
                <script src="/assets/js/ajaxfileupload.js"></script>
                <script src="/assets/js/doc.js"></script>
                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>新增专家</h3>
                </div>

                <form class="form-horizontal"  method="post" action="/adm/expert/add">
                    <input type="hidden" name="_token" id="_token" value="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb" />
                    <div class="form-group">
                        <label for="doc_name" class="col-sm-2 control-label"><span style="color:red;">*</span>姓名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="name" name="name" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="upload_file" class="col-sm-2 control-label"><span style="color:red;">*</span>缩略图</label>
                        <div class="col-sm-10">
                            <input  id="upload_file" name="upload_file"  type="file" onchange="saveThumb()"/>
                            <input type="hidden" class="form-control" id="photo" name="photo" >
                            <img style="width:160px;height:200px;" alt="" id="thumb" src=""/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="doc_position" class="col-sm-2 control-label"><span style="color:red;">*</span>科室</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="department" name="department" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="doc_department" class="col-sm-2 control-label"><span style="color:red;">*</span>职称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id=“title" name="title" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="doc_department" class="col-sm-2 control-label"><span style="color:red;">*</span>职务</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id=“postion" name="postion" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="doc_department" class="col-sm-2 control-label"><span style="color:red;">*</span>医院</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id=“hospital" name="hospital" >
                        </div>
                    </div>
                    <div class="form-group" >
                        <label for="doc_introduction" class="col-sm-2 control-label"><span style="color:red;">*</span>简介</label>
                        <div class="col-sm-10">
                            <script id="description" name="description" type="text/plain"></script>
                            <script type="text/javascript">
                                var editor = UE.getEditor('description')
                            </script>
                        </div>
                    </div>
                    <div class="form-group" >
                        <label for="doc_introduction" class="col-sm-2 control-label"><span style="color:red;">*</span>接受教育</label>
                        <div class="col-sm-10">
                            <script id="education" name="education" type="text/plain"></script>
                            <script type="text/javascript">
                                var editor = UE.getEditor('education')
                            </script>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确定</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>

编辑


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title></title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                <!-- 配置文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.config.js"></script>
                <!-- 编辑器源码文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.all.js"></script>
                <!-- 语言包文件(建议手动加载语言包，避免在ie下，因为加载语言失败导致编辑器加载失败) -->
                <script type="text/javascript" src="/assets/js/ueditor/lang/zh-cn/zh-cn.js"></script>
                <script src="/assets/js/ajaxfileupload.js"></script>
                <script src="/assets/js/doc.js"></script>
                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>编辑专家</h3>
                </div>

                <form class="form-horizontal"  method="post" action="/adm/expert/edit/17">
                    <input type="hidden" name="_token" id="_token" value="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb" />
                    <div class="form-group">
                        <label for="name" class="col-sm-2 control-label"><span style="color:red;">*</span>姓名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="name" name="name" value="213213123">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="upload_file" class="col-sm-2 control-label"><span style="color:red;">*</span>缩略图</label>
                        <div class="col-sm-10">
                            <input  id="upload_file" name="upload_file" type="file" onchange="saveThumb()"/>
                            <input type="hidden" class="form-control" id="photo" name="photo"  value="/upload/expert_thumb/jpg/20210501/202105012026444548_s.jpg">
                            <img style="width:160px;height:200px;" alt="" id="thumb" src="/upload/expert_thumb/jpg/20210501/202105012026444548_s.jpg"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="department" class="col-sm-2 control-label"><span style="color:red;">*</span>科室</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="department" name="department"  value="213213123">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label"><span style="color:red;">*</span>职称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="title" name="title" value="31213213">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="postion" class="col-sm-2 control-label"><span style="color:red;">*</span>职务</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="postion" name="postion" value="231213213">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="hospital" class="col-sm-2 control-label"><span style="color:red;">*</span>医院</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="hospital" name="hospital"  value="213213">
                        </div>
                    </div>
                    <div class="form-group" >
                        <label for="description" class="col-sm-2 control-label"><span style="color:red;">*</span>简介</label>
                        <div class="col-sm-10">
                            <script id="description" name="description" type="text/plain"> <p>231213</p></script>
                            <script type="text/javascript">
                                var editor = UE.getEditor('description')
                            </script>
                        </div>
                    </div>
                    <div class="form-group" >
                        <label for="description" class="col-sm-2 control-label"><span style="color:red;">*</span>接受教育</label>
                        <div class="col-sm-10">
                            <script id="education" name="education" type="text/plain"> <p>213213</p></script>
                            <script type="text/javascript">
                                var editor = UE.getEditor('education')
                            </script>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确定</button>
                        </div>
                    </div>
                </form>

            </div>
        </div>
    </div>
</div>
</body>
</html>



video


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title></title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>直播录播管理</h3>
                </div>
                <div style="float:right;"><button type="button" class="btn btn-primary" onclick="window.location.href='/adm/video/add-video'">新增视频</button></div>
                <br><br><br>
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>id</th>
                        <th>标题</th>
                        <th>科室</th>
                        <th>专家</th>
                        <th>类型</th>
                        <th>直播开始时间</th>
                        <th>直播结束时间</th>
                        <!--           <th>更新签到积分</th>-->
                        <!--           <th>试题列表</th>-->
                        <!--           <th>积分导出</th> -->
                        <!--          <th>周报导出</th>  -->
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <th scope="row">19</th>
                        <td>项目发布</td>
                        <td>计算机</td>
                        <td>马倩</td>
                        <td> 录播 </td>
                        <td>2021-04-26 17:45:53</td>
                        <td>2021-04-26 17:46:14</td>
                        <td>
                            <a href="/adm/video/edit-video/19"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span></a>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/video/del-video/19')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">18</th>
                        <td>糖尿病新分型下的思考-浅谈精...</td>
                        <td>内分泌内科</td>
                        <td>高妍 赵维纲</td>
                        <td> 录播 </td>
                        <td>2021-03-17 19:00:00</td>
                        <td>2021-03-17 20:00:00</td>
                        <td>
                            <a href="/adm/video/edit-video/18"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span></a>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/video/del-video/18')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">17</th>
                        <td>创面管理大讲堂第十六讲</td>
                        <td>整复外科</td>
                        <td>章一新</td>
                        <td> 录播 </td>
                        <td>2021-04-26 17:53:19</td>
                        <td>2021-04-26 17:54:21</td>
                        <td>
                            <a href="/adm/video/edit-video/17"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span></a>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/video/del-video/17')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row">16</th>
                        <td>2020中国CML指南解读更新&CML...</td>
                        <td>血液科</td>
                        <td>沈云峰</td>
                        <td> 直播 </td>
                        <td>2021-04-26 17:50:32</td>
                        <td>2021-04-26 17:52:40</td>
                        <td>
                            <a href="/adm/video/edit-video/16"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span></a>
                            &nbsp;&nbsp;&nbsp;
                            <a href="#" onclick="delUser('/adm/video/del-video/16')"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <script>
                    function delUser(url){
                        if(confirm('确定要删除该条记录吗？')){
                            window.location.href = url;
                        }
                    }
                </script>
            </div>
        </div>
    </div>
</div>
</body>
</html>


add-video

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title></title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                <!-- 配置文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.config.js"></script>
                <!-- 编辑器源码文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.all.js"></script>
                <!-- 语言包文件(建议手动加载语言包，避免在ie下，因为加载语言失败导致编辑器加载失败) -->
                <script type="text/javascript" src="/assets/js/ueditor/lang/zh-cn/zh-cn.js"></script>
                <script src="/assets/js/ajaxfileupload.js"></script>
                <script src="/assets/js/video.js"></script>

                <!-- date -->
                <script src="/assets/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
                <script src="/assets/js/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>
                <script type="text/javascript">
                    $(function () {
                        $(".ui_timepicker").datetimepicker({
                            format: 'yyyy-mm-dd hh:ii:ss',
                            language:'zh-CN',
                            todayBtn:  1,
                            autoclose: 1,
                            todayHighlight: 1,
                            startView: 2,
                            forceParse: 0,
                        })
                    })
                </script>
                <!-- date -->

                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>新增视频</h3>
                </div>

                <form class="form-horizontal"  method="post" action="/adm/video/add-video-do">
                    <input type="hidden" name="_token" id="_token" value="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb" />
                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label"><span style="color:red;">*</span>标题</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="title" name="title" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="url" class="col-sm-2 control-label"><span style="color:red;">*</span>视频路径</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="url" name="url" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="type" class="col-sm-2 control-label"><span style="color:red;">*</span>视频类型</label>
                        <div class="col-sm-10">
                            <label class="radio-inline">
                                <input type="radio" name="type" id="video_type1" value="1" checked> 录播
                            </label>
                            <label class="radio-inline">
                                <input type="radio" name="type" id="video_type2" value="0"> 直播
                            </label>
                        </div>
                    </div>

                    <div class="form-group" >
                        <label for="description" class="col-sm-2 control-label"><span style="color:red;">*</span>课程简介</label>
                        <div class="col-sm-10">
                            <script id="description" name="description" type="text/plain"></script>
                            <script type="text/javascript">
                                var editor = UE.getEditor('description')
                            </script>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="start_time" class="col-sm-2 control-label"><span style="color:red;">*</span>直播开始时间</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control ui_timepicker" id="start_time" name="start_time" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="end_time" class="col-sm-2 control-label"><span style="color:red;">*</span>直播结束时间</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control ui_timepicker" id="end_time" name="end_time" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="upload_file" class="col-sm-2 control-label"><span style="color:red;">*</span>缩略图</label>
                        <div class="col-sm-10">
                            <input  id="upload_file" name="upload_file"  type="file" onchange="saveThumb()"/>
                            <input type="hidden" class="form-control" id="img_thumb" name="img_thumb" >
                            <img style="width:320px; height:200px;" alt="" id="thumb" src=""  />
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="expertlist" class="col-sm-2 control-label"><span style="color:red;">*</span>关联专家</label>
                        <div class="col-sm-10">
                            <select id="expert">
                                <option value="">请选择</option>
                                <option value="3">章一新</option>
                                <option value="4">韩军涛</option>
                                <option value="5">沈云峰</option>
                                <option value="6">王智</option>
                                <option value="7">唐晓文</option>
                                <option value="8">高妍 赵维纲</option>
                                <option value="9">马倩</option>
                                <option value="17">213213123</option>
                            </select>
                            <button class="btn btn-default" type="button" onclick="addexpert()">添加</button>
                            <style>
                                .expert{margin:5px;}
                            </style>
                            <div id="expertlist" name="expertlist"></div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确定</button>
                        </div>
                    </div>
                </form>

                <script>
                    function addexpert(){
                        var expert = $('#expert option:selected');
                        var flag = true;
                        var experthtml = '';
                        if(expert.val()){
                            $('#expertlist').find('input').each(function(){
                                if($(this).val()==expert.val()){
                                    flag = false;
                                    return false;
                                }
                            });
                            if(flag){
                                experthtml += '<div>';
                                experthtml += '		<input type="hidden" value="'+expert.val()+'" name="doc_id[]">';
                                experthtml += '		<span class="expert">'+expert.text()+'</span>';
                                experthtml += '		<span class="glyphicon glyphicon-remove mouse" onclick="$(this).parent().remove()"></span>';
                                experthtml += '</div>';
                                $('#expertlist').append(experthtml);
                            }else{
                                alert('您已经添加过该专家了');
                                return false;
                            }
                        }else{
                            alert('请先选择一个专家');
                            return false;
                        }
                    }
                </script>
            </div>
        </div>
    </div>
</div>
</body>
</html>


编辑


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="http://durogestic.239489.com/assets/bootstrap3.3.5/css/bootstrap.css" rel="stylesheet">
    <link href="/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <script src="http://durogestic.239489.com/assets/js/jquery.min.js"></script>
    <script src="http://durogestic.239489.com/assets/js/browser.js"></script>
    <script src="http://durogestic.239489.com/assets/bootstrap3.3.5/js/bootstrap.js"></script>
    <link href="http://durogestic.239489.com/assets/css/custom.css" rel="stylesheet">


    <title></title>

</head>
<body>
<div class="navbar navbar-default">
    <div class="container">
        <div class="navbar-header">
            <button data-target=".navbar-collapse" data-toggle="collapse" type="button" class="navbar-toggle collapsed">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand hidden-sm">杨森多瑞吉管理后台</a>
        </div>
    </div>
    <div style="float:right;font-size:14px;">admin,欢迎您！<a href="/adm/logout">退出</a>&nbsp;&nbsp;&nbsp;</div>
</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div class="accordion" id="accordion-11">
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm">
                            首页
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/user">
                            用户管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/expert">
                            专家管理
                        </a>
                    </div>
                </div>
                <div class="accordion-group">
                    <div class="accordion-heading">
                        <a class="accordion-toggle" href="/adm/video/video-list">
                            直播/录播管理
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" >
            <div class="col-md-12" id="content" >
                <!-- 配置文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.config.js"></script>
                <!-- 编辑器源码文件 -->
                <script type="text/javascript" src="/assets/js/ueditor/ueditor.all.js"></script>
                <!-- 语言包文件(建议手动加载语言包，避免在ie下，因为加载语言失败导致编辑器加载失败) -->
                <script type="text/javascript" src="/assets/js/ueditor/lang/zh-cn/zh-cn.js"></script>
                <script src="/assets/js/ajaxfileupload.js"></script>
                <script src="/assets/js/video.js"></script>

                <!-- date -->
                <script src="/assets/js/bootstrap-datetimepicker.min.js" type="text/javascript"></script>
                <script src="/assets/js/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>
                <script type="text/javascript">
                    $(function () {
                        $(".ui_timepicker").datetimepicker({
                            format: 'yyyy-mm-dd hh:ii:ss',
                            language:'zh-CN',
                            todayBtn:  1,
                            autoclose: 1,
                            todayHighlight: 1,
                            startView: 2,
                            forceParse: 0,
                        })
                    })
                </script>
                <!-- date -->

                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>编辑视频</h3>
                </div>

                <form class="form-horizontal"  method="post" action="/adm/video/edit-video-do/19">
                    <input type="hidden" name="_token" id="_token" value="ZnWmRJZiwgy3As6LQXaLcxmEaMBHXXEs5ALmsCMb" />
                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label"><span style="color:red;">*</span>标题</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="title" name="title" value="项目发布">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="url" class="col-sm-2 control-label"><span style="color:red;">*</span>视频路径</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="url" name="url" value="/upload/videos/test2.mp4">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="type" class="col-sm-2 control-label"><span style="color:red;">*</span>视频类型</label>
                        <div class="col-sm-10">
                            <label class="radio-inline">
                                <input type="radio" name="type" id="video_type1" value="1"  checked > 录播
                            </label>
                            <label class="radio-inline">
                                <input type="radio" name="type" id="video_type2" value="0" > 直播
                            </label>
                        </div>
                    </div>
                    <div class="form-group" >
                        <label for="description" class="col-sm-2 control-label"><span style="color:red;">*</span>课程简介</label>
                        <div class="col-sm-10">
                            <script id="description" name="description" type="text/plain"><p>简介。。。。。。。</p><p><img src="/upload/ueditor/image/20210426/1619430343512803.png" title="1619430343512803.png" alt="11111.png"/></p></script>
                            <script type="text/javascript">
                                var editor = UE.getEditor('description')
                            </script>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="doc_department" class="col-sm-2 control-label"><span style="color:red;">*</span>直播开始时间</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control ui_timepicker" id="start_time" name="start_time" value="2021-04-26 17:45:53">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="doc_hospital" class="col-sm-2 control-label"><span style="color:red;">*</span>直播结束时间</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control ui_timepicker" id="end_time" name="end_time" value="2021-04-26 17:46:14" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="upload_file" class="col-sm-2 control-label"><span style="color:red;">*</span>缩略图</label>
                        <div class="col-sm-10">
                            <input  id="upload_file" name="upload_file"  type="file" onchange="saveThumb()"/>
                            <input type="hidden" class="form-control" id="img_thumb" name="img_thumb" value="/upload/video_thumb/png/20210426/202104261746205017_s.png" >
                            <img style="width:320px;height:200px;" alt="" id="thumb" src="/upload/video_thumb/png/20210426/202104261746205017_s.png"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="expertlist" class="col-sm-2 control-label"><span style="color:red;">*</span>关联专家</label>
                        <div class="col-sm-10">
                            <select id="expert">
                                <option value="">请选择</option>
                                <option value="3">章一新</option>
                                <option value="4">韩军涛</option>
                                <option value="5">沈云峰</option>
                                <option value="6">王智</option>
                                <option value="7">唐晓文</option>
                                <option value="8">高妍 赵维纲</option>
                                <option value="9">马倩</option>
                                <option value="17">213213123</option>
                            </select>
                            <button class="btn btn-default" type="button" onclick="addexpert()">添加</button>
                            <style>
                                .expert{margin:5px;}
                            </style>
                            <div id="expertlist" name="expertlist">
                                <div>
                                    <input type="hidden" value="9" name="doc_id[]">
                                    <span class="expert">马倩</span>
                                    <span class="glyphicon glyphicon-remove mouse" onclick="$(this).parent().remove()"></span>
                                </div>
                                <div>
                                    <input type="hidden" value="7" name="doc_id[]">
                                    <span class="expert">唐晓文</span>
                                    <span class="glyphicon glyphicon-remove mouse" onclick="$(this).parent().remove()"></span>
                                </div>
                                <div>
                                    <input type="hidden" value="6" name="doc_id[]">
                                    <span class="expert">王智</span>
                                    <span class="glyphicon glyphicon-remove mouse" onclick="$(this).parent().remove()"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确定</button>
                        </div>
                    </div>
                </form>
                <script>
                    function addexpert(){
                        var expert = $('#expert option:selected');
                        var flag = true;
                        var experthtml = '';
                        if(expert.val()){
                            $('#expertlist').find('input').each(function(){
                                if($(this).val()==expert.val()){
                                    flag = false;
                                    return false;
                                }
                            });
                            if(flag){
                                experthtml += '<div>';
                                experthtml += '		<input type="hidden" value="'+expert.val()+'" name="doc_id[]">';
                                experthtml += '		<span class="expert">'+expert.text()+'</span>';
                                experthtml += '		<span class="glyphicon glyphicon-remove mouse" onclick="$(this).parent().remove()"></span>';
                                experthtml += '</div>';
                                $('#expertlist').append(experthtml);
                            }else{
                                alert('您已经添加过该专家了');
                                return false;
                            }
                        }else{
                            alert('请先选择一个专家');
                            return false;
                        }
                    }
                </script>
            </div>
        </div>
    </div>
</div>
</body>
</html>
